﻿<Application x:Class="UIAdapters.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
			</ResourceDictionary.MergedDictionaries>

			<Style x:Key="ToolBarItemImageStyle" TargetType="Image">
				<Setter Property="Width" Value="20"/>
				<Setter Property="Height" Value="20"/>
				<Style.Triggers>
					<!-- just wanted something to show the toolbar item is disabled. In reality you'd want to dim the colors or something -->
					<Trigger Property="IsEnabled" Value="False">
						<Setter Property="BitmapEffect">
							<Setter.Value>
								<BlurBitmapEffect/>
							</Setter.Value>
						</Setter>
					</Trigger>
				</Style.Triggers>
			</Style>
			
			<DrawingImage x:Key="New">
				<DrawingImage.Drawing>
					<DrawingGroup>
						<DrawingGroup.Children>
							<GeometryDrawing Geometry="F1 M 5,5L 5,45L 45,45L 45,15L 35,5L 5,5 Z ">
								<GeometryDrawing.Pen>
									<Pen LineJoin="Round">
										<Pen.Brush>
											<LinearGradientBrush StartPoint="0.98916,0.987805" EndPoint="0.0135501,0.0121951">
												<LinearGradientBrush.GradientStops>
													<GradientStop Color="#FF304860" Offset="0"/>
													<GradientStop Color="#FFB0C0E0" Offset="1"/>
												</LinearGradientBrush.GradientStops>
											</LinearGradientBrush>
										</Pen.Brush>
									</Pen>
								</GeometryDrawing.Pen>
								<GeometryDrawing.Brush>
									<LinearGradientBrush StartPoint="0.98916,0.987805" EndPoint="0.0135501,0.0121951">
										<LinearGradientBrush.GradientStops>
											<GradientStop Color="#FF90A0B0" Offset="0"/>
											<GradientStop Color="#FFFFFFFF" Offset="1"/>
										</LinearGradientBrush.GradientStops>
									</LinearGradientBrush>
								</GeometryDrawing.Brush>
							</GeometryDrawing>
							<GeometryDrawing Brush="#FFC0C0C8" Geometry="F1 M 35,5L 35,15L 45,15L 35,5 Z ">
								<GeometryDrawing.Pen>
									<Pen LineJoin="Round">
										<Pen.Brush>
											<LinearGradientBrush StartPoint="0.959596,0.954546" EndPoint="0.0505049,0.0454545">
												<LinearGradientBrush.GradientStops>
													<GradientStop Color="#FF304860" Offset="0"/>
													<GradientStop Color="#FFA0B0D0" Offset="1"/>
												</LinearGradientBrush.GradientStops>
											</LinearGradientBrush>
										</Pen.Brush>
									</Pen>
								</GeometryDrawing.Pen>
							</GeometryDrawing>
						</DrawingGroup.Children>
					</DrawingGroup>
				</DrawingImage.Drawing>
			</DrawingImage>

			<DrawingImage x:Key="Exit">
				<DrawingImage.Drawing>
					<DrawingGroup>
						<DrawingGroup.Children>
							<GeometryDrawing Geometry="F1 M 5,10L 10,5L 25,20L 40,5L 45,10L 30,25L 45,40L 40,45L 25,30L 10,45L 5,40L 20,25L 5,10 Z ">
								<GeometryDrawing.Pen>
									<Pen LineJoin="Round">
										<Pen.Brush>
											<LinearGradientBrush StartPoint="0.501355,0.987805" EndPoint="0.501355,0.0121951">
												<LinearGradientBrush.GradientStops>
													<GradientStop Color="#FFB8120D" Offset="0"/>
													<GradientStop Color="#FFFF351E" Offset="1"/>
												</LinearGradientBrush.GradientStops>
											</LinearGradientBrush>
										</Pen.Brush>
									</Pen>
								</GeometryDrawing.Pen>
								<GeometryDrawing.Brush>
									<LinearGradientBrush StartPoint="0.501355,0.987805" EndPoint="0.501355,0.0121951">
										<LinearGradientBrush.GradientStops>
											<GradientStop Color="#FFFFAE8C" Offset="0"/>
											<GradientStop Color="#FFF60D0B" Offset="0.493151"/>
											<GradientStop Color="#FFFC8B74" Offset="1"/>
										</LinearGradientBrush.GradientStops>
									</LinearGradientBrush>
								</GeometryDrawing.Brush>
							</GeometryDrawing>
						</DrawingGroup.Children>
					</DrawingGroup>
				</DrawingImage.Drawing>
			</DrawingImage>
		</ResourceDictionary>
    </Application.Resources>
</Application>
